﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<TVXD23.Web.Models.ViewModel.EditImageModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Sửa đổi thông tin hình ảnh
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form  action="/Admin/EditImage" method="post">
   <input type="text" name="ID" value="<%:Model.ID %>"  readonly="readonly" />
    <div class="editor-label">
        Tên ảnh :
    </div>
    <div class="editor-field">
        <input type="text" class="inp-form" name="ImageName" value="<%:Model.ImageName %>" />
    </div>
    <div class="editor-label">
        Tên ảnh tiếng anh :
    </div>
    <div class="editor-field">
        <input type="text" class="inp-form" name="ImageNameEnglish" value="<%:Model.ImageNameEnglish %>" />
    </div>
    <div class="editor-label">
        Mô tả :
    </div>
    <div class="editor-field">
        <textarea class="ckeditor" name="Description" rows="5" cols="80"><%:Model.Description %></textarea><br />
        <b>
            <%:Html.ValidationMessageFor(m=>m.Description) %></b>
    </div>
    <div class="editor-label">
        Mô tả tiếng anh:
    </div>
    <div class="editor-field">
        <textarea class="ckeditor" name="DescriptionEnglish" rows="5" cols="80"><%:Model.ImageNameEnglish %></textarea><br />
        <b>
            <%:Html.ValidationMessageFor(m=>m.Description) %></b>
    </div>
    <div class="editor-label">
        <input type="submit" name="Save" value="Save" />
    </div>
    </form>
</asp:Content>
